package com.xinan.tool.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 公共参数
 *
 * @author yuanz
 */
@Data
@Component
@ConfigurationProperties(CommonConfiguration.PREFIX)
public class CommonConfiguration {
    /**
     * 前缀
     */
    public static final String PREFIX = "test";
    /**
     * 参数
     */
    public int totalSize;
    public int batchSize;
    public int batchNum;

}
